package com.googlecode.imule.data;

import java.util.LinkedList;
import java.util.List;

public class Argument {

	private String type;
	
	private String value;
	
	private List<Argument> arguments;
	
	public Argument() {
		arguments = new LinkedList<Argument>();
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}
	
	public String toString() {
		
		String argument = "";
		
		for (Argument a : arguments) {
			argument += "\n\t" + arguments.get(0).toString();
		}
		
		return argument;
	}
	
}
